﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TClass_List.aspx.cs" Inherits="ExamSystem.ht.TClass_List" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>班级管理</title>
	<meta charset="utf-8"/>
	<meta name="renderer" content="webkit|ie-comp|ie-stand"/>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="stylesheet" type="text/css" href="../h-ui/static/h-ui/css/H-ui.min.css" />
	<link rel="stylesheet" type="text/css" href="../h-ui/static/h-ui.admin/css/H-ui.admin.css" />
	<link rel="stylesheet" type="text/css" href="../h-ui/lib/Hui-iconfont/1.0.8/iconfont.css" />
	<link rel="stylesheet" type="text/css" href="../h-ui/static/h-ui.admin/skin/default/skin.css" id="skin" />
	<link rel="stylesheet" type="text/css" href="../h-ui/static/h-ui.admin/css/style.css" />
    <script type="text/javascript" src="../h-ui/lib/jquery/1.9.1/jquery.min.js"></script> 
    <script type="text/javascript" src="../h-ui/lib/layer/2.4/layer.js"></script>
	<!--请在下方写此页面业务相关的脚本-->
	<script type="text/javascript">
		/*删除*/
		function del(id){
		    layer.confirm('确认要删除吗？', {icon:0},function(){
		        document.location.href = "TClass_List.aspx?id=" + id;		
			});
		}
	</script>
</head>
<body>
    <form id="form1" runat="server" method="get">
    <div>
        <nav class="breadcrumb">
		    <i class="Hui-iconfont">&#xe67f;</i> 
		    首页 <span class="c-gray en">&gt;</span> 
		    基础信息 <span class="c-gray en">&gt;</span> 
		    班级管理 
		    <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.href='TClass_List.aspx';" title="刷新" >
			    <i class="Hui-iconfont">&#xe68f;</i>
		    </a>
	    </nav>
	    <div class="page-container">
		    <div class="cl pd-5 bg-1 bk-gray mt-20"> 
			    <span class="l">
				    <a class="btn btn-primary radius" onclick="document.location.href='TClass_Add.aspx'" href="javascript:;">
					    <i class="Hui-iconfont">&#xe600;</i> 添加班级</a>
			    </span> 
                <span class="r">共有数据：<strong><label id="lbTotal" runat="server" >0</label></strong> 条</span> </div>
		    </div>
		    <div class="mt-20">
			    <table class="table table-border table-bordered table-bg table-hover table-sort">
				     
                        <thead>
					        <tr class="text-c">
						        <th width="10%">ID</th>
						        <th width="40%">班级名</th>
						        <th width="50%">操作</th>
					        </tr>
				        </thead>
                    <asp:Repeater ID="Repeater1" runat="server">
                        <ItemTemplate>
					            <tr class="text-c">
						            <td><%# Eval("tcId") %></td>
						            <td><%# Eval("tcNo") %></td>
						            <td class="td-manage">
							            <a style="text-decoration:none" class="ml-5" onclick="document.location.href='TClass_Edit.aspx?id=<%# Eval("tcId") %>'" href="javascript:;" title="编辑">
								            <i class="Hui-iconfont">&#xe6df;</i>
							            </a> 
							            <a style="text-decoration:none" class="ml-5" onclick="del('<%# Eval("tcId") %>')" href="javascript:;" title="删除">
								            <i class="Hui-iconfont">&#xe6e2;</i>
							            </a>
						            </td>
					            </tr>
                            </ItemTemplate>
                   </asp:Repeater>
			    </table>
		    </div>
	    </div>
    </form>
    
</body>
</html>
